function random_with_set(){
    let set = new Set();

    while(true){
        if(set.size > MAXIMUM -1) break;

        let tmp = parseInt(Math.random()*UID_COUNT, 10);

        if(set.has(tmp)) continue;
        set.add(tmp);
    }

    return Array.from(set);
}
const MAXIMUM = 10000;
const UID_COUNT = 100000